package com.augn.service;

import com.augn.entity.Post;
import com.augn.entity.Result;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author augn
 * @since 2022-09-22
 */
public interface IPostService extends IService<Post> {

    Result<?> insertOnePost(Post post);
    Result<?> deleteOnePost(Integer id);
    Result<?> updateOnePost(Post post);
    Result<?> getOnePost(Integer id);
    Result<?> getPartPost(Post post,Integer pageNum,Integer pageSize);
}
